public class homework7 {
    public static void main(String[]args){
        java.util.Scanner s=new java .util.Scanner(System.in);
        System.out.print("欢迎使用计算机1.0版本:我现在只能帮助你实现加法运算");
        System.out.print("请输入第一个数字：");
        int num1 =s.nextInt();
        System.out.print("请输入第二个数字；");
        int num2 =s.nextInt();
        int result= num1+num2;
        System.out.println(num1+"+"+num2+"="+result);

        int i =10;
        i++;
        System.out.println("i="+i);

        int a=10;
        ++a;
        System.out.println("a="+a);

        int k =10;
        int f =k++;
        System.out.println("k="+k);
        System.out.println("f="+f);

        int e =100;
        int x=++e;
        System.out.println("e="+e);
        System.out.println("x="+x);

        int y=100;
        System.out.println(y++);
        System.out.println(y);





    }
}
